package com.nineclock.approve.service;


import com.nineclock.approve.dto.ApproveDefinitionDto;
import com.nineclock.approve.pojo.ApproveDefinition;

public interface ActivitiService {

    /**
     * 动态构建BPMN模型，部署到Activiti
     * @param approveDefinitionDto
     */
    void deployProcessToActiviti(ApproveDefinition approveDefinition);


    /**
     * 删除流程定义
     * @param approveDefinition
     */
    void deleteProcessDefinition(ApproveDefinition approveDefinition);
}
